import {createRouter, createWebHashHistory} from 'vue-router'
import Home from '../views/Home'
import About from '../views/About'

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    {
        path: '/about',
        name: 'About',
        component: About
    }

]
const router = createRouter({
    history: createWebHashHistory(), routes
})
export default router

